import torch

matrix1 = torch.tensor([[1, 2, 3],
                        [4, 5, 6]])

# 定义一个 3x2 的矩阵
matrix2 = torch.tensor([[7, 8],
                        [9, 10],
                        [11, 12]])

result = torch.mm(matrix1, matrix2)

print(result)